<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery/jquery-1.9.1.js"></script>
<script type="text/javascript">

</script>
<title>test</title>
</head>

<body>
	APP:登陆<br/>
	<form action="<%=request.getContextPath()%>/app/user/login"  method="post" >
		op:<input name="op" value="user.login" /><br/>
		user.simId:<input name="user.simId" value="1231231"/><br/>
		<input type="submit"/>
	</form>
	<br/>
	APP:用户注册(user.regist)<br/>
	<form action="<%=request.getContextPath()%>/app/user/regist"  method="post" enctype="multipart/form-data">
		op:<input name="op" value="user.regist" /><br/>
		<!-- id:<input name="id"/> -->
		sim号码(simId):<input name="user.simId" value="1231231"/><br/>
		姓名(name):<input name="user.name" /><br/>
		昵称(nickName):<input name="user.nickName" /><br/>
		性别(sex):<input name="user.sex" type="radio" value="1"/>男<input name="sex" type="radio" value="0"/>女<br/>
		头像(picture):<input name="file" type="file"><br/> 
		<input type="submit"/>
	</form>
	<br/>
	APP:用户资料更新(user.update)<br/>
	<form action="<%=request.getContextPath()%>/app/user/update"  method="post" enctype="multipart/form-data">
		op:<input name="op" value="user.update" /><br/>
		<!-- id:<input name="id"/> -->
		id:<input name="user.id" value="cc775779-7a35-4128-b41a-ea2073399ff9"/>
		sim号码(simId):<input name="user.simId" value="12345"/><br/>
		姓名(name):<input name="user.name" /><br/>
		昵称(nickName):<input name="user.nickName" /><br/>
		性别(sex):<input name="user.sex" type="radio" value="1"/>男<input name="user.sex" type="radio" value="0"/>女<br/>
		头像(picture):<input name="file" type="file"><br/> 
		<input type="submit"/>
	</form>
	<br/>
	<hr/>
	APP:查询婚礼<br/>
	<form action="<%=request.getContextPath()%>/app/wedding/getWedding"  method="post" >
		op:<input name="op" value="wedding.getWedding" /><br/>
		编号<input name="wedding.number" value="12345"/><br/>
		<input type="submit"/>
	</form><br/>
	APP:获取婚礼图片列表<br/>
	<form action="<%=request.getContextPath()%>/app/wedding/getPictureList"  method="post" >
		op:<input name="op" value="wedding.getPictureList" /><br/>
		wedding.id<input name="wedding.id" value="e141d3e7-f0b4-4588-9cc2-f8d1d861aef8" size="40"/><br/>
		<input type="submit"/>
	</form><br/>
	
	APP:获取婚礼视频列表<br/>
	<form action="<%=request.getContextPath()%>/app/wedding/getVideoList"  method="post" >
		op:<input name="op" value="wedding.getVideoList" /><br/>
		wedding.id<input name="wedding.id" value="e141d3e7-f0b4-4588-9cc2-f8d1d861aef8" size="40"/><br/>
		<input type="submit"/>
	</form><br/>
	
	<br/>
	WEB:"添加婚礼(wedding.create)<br/>
	<form action="<%=request.getContextPath()%>/manager/wedding/create"  method="post" enctype="multipart/form-data">
		op:<input name="op" value="wedding.create" /><br/>
		编号<input name="wedding.number" value="1231231"/><br/>
		皮肤：<input name="wedding.skinType" type="radio" value="0" checked="checked"/>默认<br/>
		主题:<input name="wedding.title" /><br/>
		婚礼介绍:<textarea name="wedding.info" rows="5" cols="50"></textarea><br/>
		新郎介绍:<textarea name="wedding.bridegroomInfo" rows="5" cols="50"></textarea><br/>
		新郎照片:<input name="wedding.bridegroomPic" type="file"><br/>
		新娘介绍:<textarea name="wedding.brideInfo" rows="5" cols="50"></textarea><br/>
		新娘照片:<input name="wedding.bridePic" type="file"><br/>
		酒店外键：<input name="wedding.hotelId"/>
		婚庆企业外键：<input name="wedding.enterpriseId"/>
		<input type="submit"/>
	</form><br/>
	<br/>
	<hr/>
	WEB:添加婚礼现场<br/>
	<form action="<%=request.getContextPath()%>/manager/hotel/create"  method="post" enctype="multipart/form-data" >
		名称：<input name="hotel.name" /><br/>
		地址：<input name="hotel.address" /><br/>
		电话：<input name="hotel.tel" /><br/>
		email：<input name="hotel.email" /><br/>
		介绍：<textarea name="hotel.info" rows="5" cols="50"></textarea><br/>
		优惠信息：<textarea name="hotel.discount" rows="5" cols="50"></textarea><br/>
		图片：<input name="hotel.picture" type="file"/><br/>
		<input type="submit"/>
	</form><br/>
	
	WEB:添加婚礼现场图片<br/>
	<form action="<%=request.getContextPath()%>/manager/hotel/createPicture"  method="post" enctype="multipart/form-data" >
		现场ID：<input name="hotelPicture.hotelId" value="c476c2f5-86f3-4fcf-9eb5-89dcec01b71b"/><br/>
		图片：<input name="file" type="file"/><br/>
		<input type="submit"/>
	</form><br/>
	<br/>
	
	APP:获取婚礼现场图片<br/>
	<form action="<%=request.getContextPath()%>/app/hotel/getHotelPicture"  method="post" >
		现场ID：<input name="hotel.id" value="c476c2f5-86f3-4fcf-9eb5-89dcec01b71b"/><br/>
		<input type="submit"/>
	</form><br/>
	<br/>
	
	<hr/>
	WEB:添加企业<br/>
	<form action="<%=request.getContextPath()%>/manager/enterprise/create"  method="post" enctype="multipart/form-data" >
		名称：<input name="enterprise.name" /><br/>
		地址：<input name="enterprise.address" /><br/>
		电话：<input name="enterprise.phone" /><br/>
		email：<input name="enterprise.email" /><br/>
		主页地址:<input name="enterprise.webUrl" /><br/>
		介绍：<textarea name="enterprise.info" rows="5" cols="50"></textarea><br/>
		优惠信息：<textarea name="enterprise.discount" rows="5" cols="50"></textarea><br/>
		图片：<input name="enterprise.picture" type="file"/><br/>
		<input type="submit"/>
	</form><br/><br/>
	
	<hr/>
	WEB:添加图片<br/>
	<form action="<%=request.getContextPath()%>/manager/picture/create"  method="post" enctype="multipart/form-data" >
		婚礼ID：<input name="picture.weddingId" value="e141d3e7-f0b4-4588-9cc2-f8d1d861aef8" size="40"/><br/>
		图片：<input name="file" type="file"/><br/>
		类型：<input name="picture.type" value="0" type="radio" />非精选  <input name="picture.type" value="1" type="radio" />精选<br/>
		主题：<input name="picture.title" /><br/>
		详细信息：<textarea name="picture.info" rows="5" cols="50"></textarea><br/>
		<input type="submit"/>
	</form><br/><br/>
	
	<hr/>
	WEB:添加视频<br/>
	<form action="<%=request.getContextPath()%>/manager/video/create"  method="post" enctype="multipart/form-data" >
		婚礼ID：<input name="video.weddingId" value="e141d3e7-f0b4-4588-9cc2-f8d1d861aef8" size="40"/><br/>
		视频文件：<input name="video.file" type="file"/><br/>
		视屏缩略图：<input name="video.thumbnail" type="file"/><br/>
		主题：<input name="video.title" /><br/>
		详细信息：<textarea name="video.info" rows="5" cols="50"></textarea><br/>
		<input type="submit"/>
	</form>
	
	<hr/>
	APP:发送祝福<br/>
	<form action="<%=request.getContextPath()%>/app/bless/send"  method="post" enctype="multipart/form-data">
		婚礼ID：<input name="bless.weddingId" value="e141d3e7-f0b4-4588-9cc2-f8d1d861aef8" size="40"/><br/>
		用户ID：<input name="bless.userId" value="cc775779-7a35-4128-b41a-ea2073399ff9" size="40"/><br/>
		op:<input name="op" value="bless.send" /><br/>
		祝福内容：<textarea name="bless.content" rows="5" cols="50"></textarea><br/>
		图片:<input name="file" type="file"/>
		<input type="submit"/>
	</form><br/><br/>
	
	APP:获取时间错之前的祝福<br/>
	<form action="<%=request.getContextPath()%>/app/bless/getBefortTimestamp"  method="post" >
		婚礼ID：<input name="bless.weddingId" value="e141d3e7-f0b4-4588-9cc2-f8d1d861aef8" size="40"/><br/>
		op:<input name="op" value="bless.getBefortTimestamp" /><br/>
		时间戳：<input name="bless.timeStamp" value="1371743645272">
		<input type="submit"/>
	</form><br/><br/>
	
	APP:获取时间错之后的祝福<br/>
	<form action="<%=request.getContextPath()%>/app/bless/getAfterTimestamp"  method="post" >
		婚礼ID：<input name="bless.weddingId" value="e141d3e7-f0b4-4588-9cc2-f8d1d861aef8" size="40"/><br/>
		op:<input name="op" value="bless.getAfterTimestamp" /><br/>
		时间戳：<input name="bless.timeStamp" value="1371743645272">
		<input type="submit"/>
	</form><br/><br/>
	
	WEB：添加新版本<br/>
	<form action="<%=request.getContextPath()%>/manager/version/create"  method="post" enctype="multipart/form-data">
		主题:<input name="version.title" size="40" /><br/>
		类型:<input name="version.type" type="radio" value="0"/>android <input name="version.type" type="radio" value="1"/>ios <input name="version.type" type="radio" value="2"/>wp<br/>
		版本号:<input name="version.version" size="40" /><br/>
		版本号:<input name="file" size="40" type="file"/><br/>
		描述信息：<textarea name="version.info" rows="5" cols="50"></textarea><br/>
		<input type="submit"/>
	</form><br/>
	
	APP：获取新版本<br/>
	<form action="<%=request.getContextPath()%>/app/version/getNewVersion"  method="post" >
		op:<input name="op" value="version.getNewVersion" /><br/>
		类型:<input name="version.type" type="radio" value="0"/>android <input name="version.type" type="radio" value="1"/>ios <input name="version.type" type="radio" value="2"/>wp<br/>
		<input type="submit"/>
	</form><br/><br/>
	
	<hr/>
	APP：发送反馈<br/>
	<form action="<%=request.getContextPath()%>/app/feedback/send"  method="post" >
		op:<input name="op" value="feedback.send" /><br/>
		用户ID：<input name="feedback.userId" value="cc775779-7a35-4128-b41a-ea2073399ff9"/><br/>
		反馈内容：<textarea name="feedback.info" rows="5" cols="50"></textarea><br/>
		<input type="submit"/>
	</form><br/><br/>
	
	<hr/>
	WEB：上传请帖<br/>
	<form action="<%=request.getContextPath()%>/manager/invitation/create"  method="post" enctype="multipart/form-data">
		婚礼ID：<input name="invitation.weddingId" value="e141d3e7-f0b4-4588-9cc2-f8d1d861aef8"/><br/>
		请帖图片：<input name="invitation.file" type="file"/><br/>
		反馈内容：<textarea name="invitation.info" rows="5" cols="50"></textarea><br/>
		<input type="submit"/>
	</form><br/><br/>
	
	APP：下载<br/>
	<form action="<%=request.getContextPath()%>/app/version/download"  method="post" >
		<input type="submit"/>
	</form><br/><br/>
	
</body>
</html>